<template>
	<view>
		<tfgg-verify ref="verifyElement" @result="verifyResult"></tfgg-verify>
	</view>
</template>
<script>
	import tfggVerify from '../../components/ker-tfgg-verify/ker-tfgg-verify.vue'
	export default {
		components: {
			tfggVerify
		},
		data() {
			return {

			}
		},
		methods: {
			/* 校验结果回调函数 */
			verifyResult(res) {
				if (res) {
					console.log('验证成功')
				}
				console.log(res);
			},
			/* 显示校验弹窗 */
			verifyFasong() {
				this.$refs.verifyElement.show();
			},
			/* 校验插件重置 */
			verifyReset() {
				this.$refs.verifyElement.reset();
			},
		},
		mounted() {
			this.verifyFasong()
		}
	}
</script>
<style lang='scss' scoped>

</style>
